import { getCurrentList } from '@/utils/sortAlphabet'

const getters = {
  token: state => state.user.hfSession,
  userId: state => state.user.userId,
  addressList: (state) => {
    const addressList = [...state.addressList.addressList]
    return getCurrentList(addressList)
  }
}

export default getters
